﻿using System;
using System.Collections.Generic;
using System.Text;

namespace CoreLib
{
    public class Point3D
    {
        private string dH;
        /// <summary>
        /// 点号
        /// </summary>
        public string DH
        {
            get { return dH; }
            set { dH = value; }
        }
        private double x;
        /// <summary>
        /// X
        /// </summary>
        public double X
        {
            get { return x; }
            set { x = value; }
        }
        private double y;
        /// <summary>
        /// Y
        /// </summary>
        public double Y
        {
            get { return y; }
            set { y = value; }
        }

        private double h;
        /// <summary>
        /// 高程
        /// </summary>
        public double H
        {
            get { return h; }
            set { h = value; }
        }

        public Point3D()
        { }

        public Point3D(double _x, double _y)
        {
            x = _x;
            y = _y;
        }

        public Point3D(double _x, double _y, double _h)
        {
            x = _x;
            y = _y;
            h = _h;
        }

        public Point3D(string _dh, double _x, double _y, double _h)
        {
            dH = _dh;
            x = _x;
            y = _y;
            h = _h;
        }

    }
}
